package com.etung.iot.demo.modles;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

@Data
@Accessors(chain = true)
@TableName("iot_project")
public class ProjectEntity {
    @TableId(type= IdType.AUTO)
    private Long id;
    @TableField("user_id")
    private String userId;
    private String name;
    @TableField("del_flag")
    private Integer delFlag;
    @TableField("create_time")
    private Date createTime;
}
